<p-panel [collapsed]="false" header="筛选查询" [collapsed]="false" headerClass="bg-eaeaea border-none" headerClass="bg-eaeaea border-none"
    [(searchText)]="searchObj.searchValue" maxlength="50" search="工队名称/用户名/手机号/姓名" (onSearch)="search();td.reset();">
    <div class="p-2-8">
        <div class="inline-block">
            <span class="p-r-10 opacity06">保证金状态： </span>
            <p-dropdown placeholder="全部" styleClass="width-150 m-r-30" [options]="cashDepositStatus" [(ngModel)]="selectedCashDepositStatus"
                [ngModelOptions]="{standalone: true}" optionLabel="name" (onChange)='search();td.reset();'></p-dropdown>
        </div>
    </div>
</p-panel>
<div class="content-section implementation">
    <p-dataTable #td [customWidth]="true"  [marginHeight]="20" [value]="listData" [totalRecords]="totalRecords" [lazy]="true" (onLazyLoad)="onPage($event)" scrollable="true"
        [paginator]="paginator" [(selection)]="selectedCars3" [headerCheckboxToggleAllPages]="false">
        <p-header>
        </p-header>
        <p-column *ngFor="let col of colsSelected" [field]='col.field' [header]='col.header' [hidden]="col.hidden" [sortable]="col.sortable">
            <ng-template let-index="rowIndex" let-data="rowData" pTemplate="body" *ngIf="col.tem">
                <!-- <div *ngIf="col.field === 'foremanAccount'" (click)="edit(data)" style="color:#1a91eb;cursor:pointer;">
                            {{data.foremanAccount}}
                        </div> -->
                <div *ngIf="col.field === 'foremanAccount'">
                    <!-- target="_blank" [routerLink]="['/saas/engineer/constructionteam/check/', data.id]" -->
                    <a class="color-1a91eb" [title]="data[col.field]"  [routerLink]="['/saas/engineer/constructionteam/check/', data.id]"> {{data.foremanAccount}} </a>
                </div>
            </ng-template>
        </p-column>
    </p-dataTable>
</div>
